<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<form action="/body/login/" method="POST">
    {% csrf_token %}
   <p><label>用户名：</label><input name="user"/></p>
    <p><label>账号</label><input name="account"/></p>
    <p><label>密码：</label><input name="pwd"></p>
    <input type="submit" value="提交"/>
</form>
<p>
    <form action="/body/toregister/">
    <input type="submit" value="新用户注册"/>

    </form>
</p>

</body>
</html>